package com.zryc.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 仓库信息表
 * </p>
 *
 * @author xujiajun
 * @since 2022-10-17
 */
@TableName("warehouse_info")
@ApiModel(value = "WarehouseInfo对象", description = "仓库信息表")
public class WarehouseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("仓库ID")
    @TableId(value = "w_id", type = IdType.AUTO)
    private Short wId;

    @ApiModelProperty("仓库编码")
    private String warehouseSn;

    @ApiModelProperty("仓库名称")
    private String warehoustName;

    @ApiModelProperty("仓库电话")
    private String warehousePhone;

    @ApiModelProperty("仓库联系人")
    private String contact;

    @ApiModelProperty("省")
    private Short province;

    @ApiModelProperty("市")
    private Short city;

    @ApiModelProperty("区")
    private Short distrct;

    @ApiModelProperty("仓库地址")
    private String address;

    @ApiModelProperty("仓库状态：0禁用，1启用")
    private Byte warehouseStatus;

    public Short getwId() {
        return wId;
    }

    public void setwId(Short wId) {
        this.wId = wId;
    }

    public String getWarehouseSn() {
        return warehouseSn;
    }

    public void setWarehouseSn(String warehouseSn) {
        this.warehouseSn = warehouseSn;
    }

    public String getWarehoustName() {
        return warehoustName;
    }

    public void setWarehoustName(String warehoustName) {
        this.warehoustName = warehoustName;
    }

    public String getWarehousePhone() {
        return warehousePhone;
    }

    public void setWarehousePhone(String warehousePhone) {
        this.warehousePhone = warehousePhone;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public Short getProvince() {
        return province;
    }

    public void setProvince(Short province) {
        this.province = province;
    }

    public Short getCity() {
        return city;
    }

    public void setCity(Short city) {
        this.city = city;
    }

    public Short getDistrct() {
        return distrct;
    }

    public void setDistrct(Short distrct) {
        this.distrct = distrct;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Byte getWarehouseStatus() {
        return warehouseStatus;
    }

    public void setWarehouseStatus(Byte warehouseStatus) {
        this.warehouseStatus = warehouseStatus;
    }

    @Override
    public String toString() {
        return "WarehouseInfo{" +
            "wId = " + wId +
            ", warehouseSn = " + warehouseSn +
            ", warehoustName = " + warehoustName +
            ", warehousePhone = " + warehousePhone +
            ", contact = " + contact +
            ", province = " + province +
            ", city = " + city +
            ", distrct = " + distrct +
            ", address = " + address +
            ", warehouseStatus = " + warehouseStatus +
        "}";
    }
}
